package net.huashitong.gradePoint.dao;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;
import com.sirdc.modules.sys.entity.SysFile;
import net.huashitong.gradePoint.entity.SysBnpFile;
import net.huashitong.gradePoint.filter.SysBnpFileFilter;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class SysBnpFileDao extends StringDao<SysBnpFile> {
    public List<SysFile> query(SysBnpFileFilter filter) {
        GenericQuery query = this.createQuery("obj");
        return query.listResult(filter);
    }
}
